home *** CD-ROM | disk | FTP | other *** search
/ Workbench Add-On / Workbench Add-On - Volume 1.iso / Gfx / Edit / TSMorph / src / progress.h < prev    next >
C/C++ Source or Header  |  1994-10-30  |  3KB  |  75 lines

  1. // TSMorph - Amiga Morphing program
  2. // Copyright (C) © 1993  Topicsave Limited
  3.  
  4. // This program is free software; you can redistribute it and/or modify
  5. // it under the terms of the GNU General Public License as published by
  6. // the Free Software Foundation; either version 2 of the License, or
  7. // any later version.
  8.  
  9. // This program is distributed in the hope that it will be useful,
  10. // but WITHOUT ANY WARRANTY; without even the implied warranty of
  11. // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
  12. // GNU General Public License for more details.
  13.  
  14. // You should have received a copy of the GNU General Public License
  15. // along with this program; if not, write to the Free Software
  16. // Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
  17.  
  18. // mpaddock@cix.compulink.co.uk
  19.  
  20. /*
  21.  *  Source machine generated by GadToolsBox V2.0
  22.  *  which is (c) Copyright 1991-1993 Jaba Development
  23.  *
  24.  *  GUI Designed by : M J P
  25.  */
  26.  
  27. #define GetString( g )      ((( struct StringInfo * )g->SpecialInfo )->Buffer  )
  28. #define GetNumber( g )      ((( struct StringInfo * )g->SpecialInfo )->LongInt )
  29.  
  30. #define GD_Frame                               0
  31. #define GD_Line                                1
  32. #define GD_Stop                                2
  33. #define GD_Info                                3
  34.  
  35. #define GDX_Frame                              0
  36. #define GDX_Line                               1
  37. #define GDX_Stop                               2
  38. #define GDX_Info                               3
  39.  
  40. #define Progress_CNT 4
  41.  
  42. extern struct IntuitionBase *IntuitionBase;
  43. extern struct Library       *GadToolsBase;
  44.  
  45. extern struct Screen        *Scr;
  46. extern UBYTE                 *PubScreenName;
  47. extern APTR                  VisualInfo;
  48. extern struct Window        *ProgressWnd;
  49. extern struct Gadget        *ProgressGList;
  50. extern struct IntuiMessage   ProgressMsg;
  51. extern UWORD                 ProgressZoom[4];
  52. extern struct Gadget        *ProgressGadgets[4];
  53. extern UWORD                 ProgressLeft;
  54. extern UWORD                 ProgressTop;
  55. extern UWORD                 ProgressWidth;
  56. extern UWORD                 ProgressHeight;
  57. extern UBYTE                *ProgressWdt;
  58. extern struct TextAttr      *Font, Attr;
  59. extern UWORD                 FontX, FontY;
  60. extern UWORD                 OffX, OffY;
  61. extern UWORD                 ProgressGTypes[];
  62. extern struct NewGadget      ProgressNGad[];
  63. extern ULONG                 ProgressGTags[];
  64.  
  65. extern int FrameClicked( void );
  66. extern int LineClicked( void );
  67. extern int StopClicked( void );
  68.  
  69. extern int SetupScreen( void );
  70. extern void CloseDownScreen( void );
  71. extern int HandleProgressIDCMP( void );
  72. extern int ProgressRawKey(void);
  73. extern int OpenProgressWindow( void );
  74. extern void CloseProgressWindow( void );
  75.